package com.gimi.cloud.jimi.entity.app.moreInfo;

import com.gimi.cloud.jimi.entity.base.BaseTable;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

/**
 * 芝麻信用信息
 * @auther loongs
 * @date 2018/1/9  9:44
 */
@Table(name = "rd_more_info")
public class MoreInfoEntity extends BaseTable {
    @Id
    private Integer fId;
    /**
     *用户id
     */
    @Column(name = "user_id")
    private Integer userId;
    /**
     * 解析之前存放json数据，解析之后存放url
     */
    @Column(name = "report_data")
    private String reportData;
    /**
     * 获取报告标识,3获取失败 2获取成功 1获取中 0未获取
     */
    @Column(name = "getdata")
    private String getdata;

    /**
     * '获取报告容错次数'
     */
    @Column(name = "getdata_error_times")
    private Integer getdataErrorTimes;

    /**
     * '获取报告最大容错次数'
     */
    @Column(name = "getdata_max_times")
    private Integer getdataMaxTimes;

    /**
     * 获取报告时间
     */
    @Column(name = "getdata_time")
    private Date getdataTime;

    /**
     * '获取报告备注'
     */
    @Column(name = "getdata_remark")
    private String getdataRemark;

    /**
     *解析数据标识:3解析失败 2解析成功 1解析中 0未解析
     */
    @Column(name = "analysis")
    private String analysis;
    /**
     *解析报告时间
     */
    @Column(name = "analysis_time")
    private Date analysisTime;
    /**
     *解析报告容错次数
     */
    @Column(name = "analysis_error_times")
    private Integer analysisErrorTimes;
    /**
     *解析报告最大容错次数
     */
    @Column(name = "analysis_max_times")
    private Integer analysisMaxTimes;
    /**
     *解析报告备注
     */
    @Column(name = "analysis_remark")
    private String analysisRemark;


    /**
     * 数据类型 '1:芝麻信用,2.淘宝信息,3.工资卡信息,4.信用卡流水,5.信用卡邮箱账单,6.公积金信息,7.社保信息,8支付宝信息'
     */
    @Column(name = "data_type")
    private String dataType;

    /**
     *数据有效期起
     */
    @Column(name = "report_effection_begin")
    private Date reportEffectionBegin;

    /**
     *数据有效期止
     */
    @Column(name = "report_effection_end")
    private Date reportEffectionEnd;
    /**
     *所属合作方
     */
    @Column(name = "partner_id")
    private Integer partnerId;
    /**
     *添加人
     */
    @Column(name = "add_uid")
    private Integer addUid;
    /**
     *添加人名称
     */
    @Column(name = "add_uname")
    private String addUname;
    /**
     *添加时间
     */
    @Column(name = "add_time")
    private Date addTime;
    /**
     *更新人
     */
    @Column(name = "update_uid")
    private Integer updateUid;
    /**
     *更新人名称
     */
    @Column(name = "update_uname")
    private String updateUname;
    /**
     *更新人时间
     */
    @Column(name = "update_time")
    private Date updateTime;
    /**
     *是否删除(1删除,0未删除)
     */
    @Column(name = "is_delete")
    private Integer isDelete;
    /**
     *版本控制
     */
    @Column(name = "version")
    private Integer version;
    /**
     *备注
     */
    @Column(name = "ba_remark")
    private String baRemark;

    public Integer getfId() {
        return fId;
    }

    public void setfId(Integer fId) {
        this.fId = fId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getReportData() {
        return reportData;
    }

    public void setReportData(String reportData) {
        this.reportData = reportData;
    }

    public Date getGetdataTime() {
        return getdataTime;
    }

    public void setGetdataTime(Date getdataTime) {
        this.getdataTime = getdataTime;
    }

    public String getAnalysis() {
        return analysis;
    }

    public void setAnalysis(String analysis) {
        this.analysis = analysis;
    }

    public Date getAnalysisTime() {
        return analysisTime;
    }

    public void setAnalysisTime(Date analysisTime) {
        this.analysisTime = analysisTime;
    }

    public Integer getAnalysisErrorTimes() {
        return analysisErrorTimes;
    }

    public void setAnalysisErrorTimes(Integer analysisErrorTimes) {
        this.analysisErrorTimes = analysisErrorTimes;
    }

    public Integer getAnalysisMaxTimes() {
        return analysisMaxTimes;
    }

    public void setAnalysisMaxTimes(Integer analysisMaxTimes) {
        this.analysisMaxTimes = analysisMaxTimes;
    }

    public String getAnalysisRemark() {
        return analysisRemark;
    }

    public void setAnalysisRemark(String analysisRemark) {
        this.analysisRemark = analysisRemark;
    }

    public Date getReportEffectionBegin() {
        return reportEffectionBegin;
    }

    public void setReportEffectionBegin(Date reportEffectionBegin) {
        this.reportEffectionBegin = reportEffectionBegin;
    }


    public Date getReportEffectionEnd() {
        return reportEffectionEnd;
    }

    public void setReportEffectionEnd(Date reportEffectionEnd) {
        this.reportEffectionEnd = reportEffectionEnd;
    }

    public Integer getPartnerId() {
        return partnerId;
    }

    public void setPartnerId(Integer partnerId) {
        this.partnerId = partnerId;
    }

    public Integer getAddUid() {
        return addUid;
    }

    public void setAddUid(Integer addUid) {
        this.addUid = addUid;
    }

    public String getAddUname() {
        return addUname;
    }

    public void setAddUname(String addUname) {
        this.addUname = addUname;
    }

    public Date getAddTime() {
        return addTime;
    }

    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }

    public Integer getUpdateUid() {
        return updateUid;
    }

    public void setUpdateUid(Integer updateUid) {
        this.updateUid = updateUid;
    }

    public String getUpdateUname() {
        return updateUname;
    }

    public void setUpdateUname(String updateUname) {
        this.updateUname = updateUname;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Integer isDelete) {
        this.isDelete = isDelete;
    }

    public Integer getVersion() {
        return version;
    }

    public void setVersion(Integer version) {
        this.version = version;
    }

    public String getBaRemark() {
        return baRemark;
    }

    public void setBaRemark(String baRemark) {
        this.baRemark = baRemark;
    }

    public String getGetdata() {
        return getdata;
    }

    public void setGetdata(String getdata) {
        this.getdata = getdata;
    }

    public Integer getGetdataErrorTimes() {
        return getdataErrorTimes;
    }

    public void setGetdataErrorTimes(Integer getdataErrorTimes) {
        this.getdataErrorTimes = getdataErrorTimes;
    }

    public Integer getGetdataMaxTimes() {
        return getdataMaxTimes;
    }

    public void setGetdataMaxTimes(Integer getdataMaxTimes) {
        this.getdataMaxTimes = getdataMaxTimes;
    }

    public String getGetdataRemark() {
        return getdataRemark;
    }

    public void setGetdataRemark(String getdataRemark) {
        this.getdataRemark = getdataRemark;
    }

    public String getDataType() {
        return dataType;
    }

    public void setDataType(String dataType) {
        this.dataType = dataType;
    }
}
